<?php
include_once '../include/general.inc.php';
include_once M_ROOT.'./include/common.fun.php';

read_tpl_tag('c$all_dian_panhan');

function read_tpl_tag($tpl_tag){
	$res = explode('$', $tpl_tag);
	
	$mode = $res[0];
	$tname = $res[1];
	
	$tag = read_tag($mode.'tag',$tname);
	
	print_r($tag);
}